<div class="container">
<div class="row">
	<div class="col-md-8">
		<portlet portlet="notitle">
				    <h3 class="Content-title"><?php echo $EditorStyle['EditorStyle']['name']; ?></h3>
				    <div class="Content-info">
				阅读次数： <span class="ui-stats-num" id="Stats-EditorStyle-{{$EditorStyle['EditorStyle']['id']}}-view_nums"><?php echo $EditorStyle['EditorStyle']['view_nums']; ?></span>
				
				{{if $favorited }}
							<a href="javascript:void(0)"  data-toggle="tooltip" data-container="body" data-placement="top"  class="btn-unfavorite btn-red pull-right" data-url="{{$this->Html->url('/favorites/cancel/'.$favor_id)}}" data-id="{{$EditorStyle['EditorStyle']['id']}}" title="{{__('Favorited Tips')}}" onclick="unfavorite(this);"><i class="fa fa-heart"></i> 收藏<span class="ui-stats-num" id="Stats-EditorStyle-{{$EditorStyle['EditorStyle']['id']}}-favor_nums">{{$EditorStyle['EditorStyle']['favor_nums']}}</span></a>
							<a class="btn-fav-refresh btn-red pull-right" style="margin:0 10px;" href="javascript:;"
data-url="{{$this->Html->url('/favorites/refresh/'.$favorited['Favorite']['id'])}}" onclick="return refreshfavorite(this);"><i class="fa fa-arrow-up" data-toggle="tooltip" data-container="body" data-placement="top" title="收藏的找不到了？点击移到最前面"></i>
											</a>
											
				{{else}}
					<a href="javascript:void(0)"  data-toggle="tooltip" data-container="body" data-placement="top"  class="btn-favorite btn-red  pull-right" data-model="EditorStyle" data-id="{{$EditorStyle['EditorStyle']['id']}}" title="{{$tooltip}}" onclick="addtofavor('EditorStyle',{{$EditorStyle['EditorStyle']['id']}},this);"><i class="fa fa-heart-o"></i> 收藏<span class="ui-stats-num" id="Stats-EditorStyle-{{$EditorStyle['EditorStyle']['id']}}-favor_nums">{{$EditorStyle['EditorStyle']['favor_nums']}}</span></a>
				{{/if}}
				{{if $EditorStyle['EditorStyle']['score']}}
					<span class="pull-right"  data-toggle="tooltip" data-container="body" data-placement="top" style="color:red;margin:0 5px" title="收藏所需积分"><i class="fa fa-leaf"></i>{{$EditorStyle['EditorStyle']['score']}}</span>
				{{/if}}
						
				    </div>
				 
				<div class="Content-body" style="width:360px;background:#FFF;margin:0 auto;padding:10px;">
					{{if $EditorStyle['EditorStyle']['cate_id'] != 3 && $EditorStyle['EditorStyle']['coverimg']}}    
					    <div class="clearfix">
					    	<img style="padding:10px 0;" alt="" src="{{$this->Html->url($EditorStyle['EditorStyle']['coverimg'])}}" >
					    </div>
					{{/if}}
				
				    	<?php
						$content = preg_replace('/class="135.+?"/is','',$EditorStyle['EditorStyle']['content']);
						$content = preg_replace('/data-\w+="\w+"/is','',$content);
						echo $content;
				    	 ?>
				</div>
		</portlet>
	</div>
	
	<div class="col-md-4">		
		
	</div>
</div>
</div>
